package com.qqtop10.manager.dao;

import java.util.List;
import java.util.Map;

import org.springframework.ui.ModelMap;

import com.qqtop10.manager.model.Advertise;

public interface AdvertiseMapper {
	List<Advertise> all(ModelMap input);

	int count(Advertise input);

	int add(Advertise input);

	int update(Advertise input);

	int disable(Advertise input);

	List<Advertise> selectBySelective(Map<String, Object> map);

	int updateDisableShow(int type);

	int updateShow(int id);

	int selectTypeShowCount(int type);
	
	Advertise selectSearchBoxAdvertise();
}